package org.visionlibrary.image.event.executors;

import org.visionlibrary.image.event.events.StartEvent;
import org.visionlibrary.image.event.listeners.StartEventListener;

public interface StartEventExecutor {
	void addStartEventListener(StartEventListener l);
	void removeStartEventListener(StartEventListener l);
	
	public class StartEventExecutorImpl extends EventExecutor<StartEvent, StartEventListener> {
		public StartEventExecutorImpl() {
			super();
		}
		
		@Override
		protected void __eventExecute(StartEventListener listener, StartEvent event) {
			listener.onStartEvent(event);
		}
	}
}
